package com.video_study.service;

import com.video_study.result.ResponseData;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginService {
    void getCode(HttpServletRequest request, HttpServletResponse response);

    ResponseData login(HttpServletRequest request, String username, String password, String code);
}

